package cn.yunhe.model;

import java.io.Serializable;

public class Pagination implements Serializable {
    private int totalRecords;
    private int maxRows;
    private int currPageNo;

    public Pagination() {
    }

    public Pagination(int totalRecords, int maxRows, int currPageNo) {
        this.totalRecords = totalRecords;
        this.maxRows = maxRows;
        this.currPageNo = currPageNo;
    }

    public int getTotalRecords() {
        return totalRecords;
    }

    public void setTotalRecords(int totalRecords) {
        this.totalRecords = totalRecords;
    }

    public int getMaxRows() {
        return maxRows;
    }

    public void setMaxRows(int maxRows) {
        this.maxRows = maxRows;
    }

    public int getCurrPageNo() {
        return currPageNo;
    }

    public void setCurrPageNo(int currPageNo) {
        this.currPageNo = currPageNo;
    }
}
